package com.netmarch.common;

/**
 * @date 2017年8月12日 下午12:52:17 页码
 */
public class Page {
	private int totalPage;// 总页数
	private int pageNum;// 当前页
	private int pageSize;// 每页显示的条数
	private int recordCount;// 总记录数
	private int startPos;// 起始位置
	private int endPos;// 结束位置
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public int getPageNum() {
		return pageNum;
	}
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getRecordCount() {
		return recordCount;
	}
	public void setRecordCount(int recordCount) {
		this.recordCount = recordCount;
	}
	public int getStartPos() {
		return startPos;
	}
	public void setStartPos(int startPos) {
		this.startPos = startPos;
	}
	public int getEndPos() {
		return endPos;
	}
	public void setEndPos(int endPos) {
		this.endPos = endPos;
	}
	public Page() {
		this.pageNum = 1;
		this.pageSize = 10;
		this.startPos = 0;
	}
}
